home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / Maze.gls < prev    next >
Text File  |  2000-09-09  |  5KB  |  277 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "gunlok.gsh"
  14. #include "elint.gsh"
  15. #include "hark.gsh"
  16. #include "frend.gsh"
  17. #include "maskelyn.gsh"
  18.  
  19.  
  20. /*********/
  21. /* NOTES */
  22. /*********/
  23.  
  24. /**********/
  25. /* SHAPES */
  26. /**********/
  27.  
  28. // world objects
  29.  
  30. shape Shp_flag_a
  31. {
  32.     file "levels\maze.rif"
  33.     name "flag A"
  34.  
  35. shape Shp_flag_b
  36. {
  37.     file "levels\maze.rif"
  38.     name "flag B"
  39.  
  40. shape Shp_homebase_a
  41. {
  42.     file "levels\maze.rif"
  43.     name "homebase A"
  44.  
  45. shape Shp_homebase_b
  46. {
  47.     file "levels\maze.rif"
  48.     name "homebase B"
  49.  
  50.   /*** GARBAGE ***/
  51.  
  52.  
  53.  
  54. shape Shp_garbage_EA
  55. {
  56.     file "levels\maze.rif"
  57.     name "GARBAGE EA"
  58. }
  59.  
  60. shape Shp_garbage_FA
  61. {
  62.     file "levels\maze.rif"
  63.     name "GARBAGE FA"
  64. }
  65.  
  66. shape Shp_garbage_GA
  67. {
  68.     file "levels\maze.rif"
  69.     name "GARBAGE GA"
  70. }
  71.  
  72. shape Shp_garbage_HA
  73. {
  74.     file "levels\maze.rif"
  75.     name "GARBAGE HA"
  76. }
  77.  
  78. shape Shp_garbage_IA
  79. {
  80.     file "levels\maze.rif"
  81.     name "GARBAGE IA"
  82. }
  83.  
  84. shape Shp_garbage_JA
  85. {
  86.     file "levels\maze.rif"
  87.     name "GARBAGE JA"
  88. }
  89.  
  90.  
  91. /*** JUNKPILE ***/
  92.  
  93.  
  94. shape Shp_junkpile_K
  95. {
  96.     file "levels\maze.rif"
  97.     name "JUNKPILE K"
  98. }
  99.  
  100. shape Shp_junkpile_LA
  101. {
  102.     file "levels\maze.rif"
  103.     name "JUNKPILE LA"
  104. }
  105.  
  106.  
  107. shape Shp_junkpile_O
  108. {
  109.     file "levels\maze.rif"
  110.     name "JUNKPILE O"
  111. }
  112.  
  113.  
  114. /**********/
  115. /* ROLES  */
  116. /**********/
  117.  
  118. // world objects
  119.  
  120. role Rol_flag_a : Rol_PlacedObject
  121. {
  122.     shape Shp_flag_a
  123. }
  124.  
  125. role Rol_flag_b : Rol_PlacedObject
  126. {
  127.     shape Shp_flag_b
  128. }
  129.  
  130. role Rol_homebase_a : Rol_PlacedObject
  131. {
  132.     shape Shp_homebase_a
  133. }
  134.  
  135. role Rol_homebase_b : Rol_PlacedObject
  136. {
  137.     shape Shp_homebase_b
  138. }
  139.  
  140. /*** GARBAGE ***/
  141.  
  142. role Rol_garbage_EA : Rol_DefaultGarbage
  143. {
  144.     shape Shp_garbage_EA
  145. }
  146.  
  147.  
  148. role Rol_garbage_FA : Rol_DefaultGarbage
  149. {
  150.     shape Shp_garbage_FA
  151. }
  152.  
  153.  
  154. role Rol_garbage_GA : Rol_DefaultGarbage
  155. {
  156.     shape Shp_garbage_GA
  157. }
  158.  
  159. role Rol_garbage_HA : Rol_DefaultGarbage
  160. {
  161.     shape Shp_garbage_HA
  162. }
  163.  
  164. role Rol_garbage_IA : Rol_DefaultGarbage
  165. {
  166.     shape Shp_garbage_IA
  167. }
  168.  
  169. role Rol_garbage_JA : Rol_DefaultGarbage
  170. {
  171.     shape Shp_garbage_JA
  172. }
  173.  
  174. /*** JUNKPILE ***/
  175.  
  176. role Rol_junkpile_K : Rol_DefaultJunkpile
  177. {
  178.     shape Shp_junkpile_K
  179. }
  180.  
  181. role Rol_junkpile_LA : Rol_DefaultJunkpile
  182. {
  183.     shape Shp_junkpile_LA
  184. }
  185.  
  186. role Rol_junkpile_O : Rol_DefaultJunkpile
  187. {
  188.     shape Shp_junkpile_O
  189. }
  190.  
  191.  
  192. /***********/
  193. /* THE MAP */
  194. /***********/
  195.  
  196. map /* _THE_ map - doesnt need a label */
  197. {
  198.     file "levels\maze.rif"
  199.     name "Land"
  200.     bitmap none // obsolete
  201.     camera plane "camhund"
  202.     max camera distance 100 // TBD exactly
  203.     max camera focus height "max focus height"
  204.     min camera focus height "min focus height"
  205.     shadow object rif "levels\maze_shadow.rif"
  206.     shadow object name "Land"
  207.  
  208.     // NEUTRAL OBJECTS
  209.  
  210.     use Rol_flag_a in team 1 
  211.         for "flag A" as "flag_1"
  212.  
  213.     use Rol_flag_b in team 3 
  214.         for "flag B" as "flag_3"
  215.  
  216.     use Rol_homebase_a in team 1 
  217.         for "homebase A" as "capture_1"
  218.  
  219.     use Rol_homebase_b in team 1 
  220.         for "homebase B" as "capture_3"
  221.  
  222.     // GARBAGE
  223.  
  224.     use Rol_garbage_EA in team 0 for
  225.         "GARBAGE EA" as "garbage_ea"
  226.     use Rol_garbage_EA in team 0 for
  227.         "GARBAGE EB" as "garbage_eb"
  228.     use Rol_garbage_EA in team 0 for
  229.         "GARBAGE EC" as "garbage_ec"
  230.     use Rol_garbage_EA in team 0 for
  231.         "GARBAGE ED" as "garbage_ed"
  232.  
  233.     use Rol_garbage_FA in team 0 for    
  234.         "GARBAGE FA" as "garbage_fa"
  235.     use Rol_garbage_FA in team 0 for    
  236.         "GARBAGE FB" as "garbage_fb"
  237.  
  238.     use Rol_garbage_GA in team 0 for    
  239.         "GARBAGE GA" as "garbage_ga"
  240.     use Rol_garbage_GA in team 0 for    
  241.         "GARBAGE GB" as "garbage_gb"
  242.  
  243.     use Rol_garbage_HA in team 0 for
  244.         "GARBAGE HA" as "garbage_ha"
  245.     use Rol_garbage_HA in team 0 for
  246.         "GARBAGE HB" as "garbage_hb"
  247.     use Rol_garbage_HA in team 0 for
  248.         "GARBAGE HC" as "garbage_hc"
  249.  
  250.     use Rol_garbage_IA in team 0 for
  251.         "GARBAGE IA" as "garbage_ia"        
  252.     use Rol_garbage_IA in team 0 for
  253.         "GARBAGE IB" as "garbage_ib"    
  254.  
  255.     use Rol_garbage_JA in team 0 for
  256.         "GARBAGE JA" as "garbage_ja"        
  257.     use Rol_garbage_JA in team 0 for
  258.         "GARBAGE JB" as "garbage_jb"    
  259.  
  260.     /*** JUNKPILE ***/
  261.  
  262.     use Rol_junkpile_K in team 0 for
  263.         "JUNKPILE K" 
  264.  
  265.     use Rol_junkpile_LA in team 0 for
  266.         "JUNKPILE LA" and
  267.         "JUNKPILE LB" and
  268.         "JUNKPILE LC" and
  269.         "JUNKPILE LD"
  270.  
  271.     use Rol_junkpile_O in team 0 for
  272.         "JUNKPILE O" 
  273. }